package org.aj.common.web.file.bean;


import java.io.Serializable;

/**
 *
 *
 * @description: 用于包装需要返回文件信息的对象
 * @author: jcj
 * date: 2020/12/31 18:43
 **/
public class FileRetWrap implements Serializable {

    //文件对象的key
    private String key;

    //相对路径  relativePath
    private String relativePath;
    //绝对路径 absolutePath
    private String absolutePath;

    public static FileRetWrap builder() {
        return new FileRetWrap();
    }

    public String getKey() {
        return key;
    }

    public FileRetWrap setKey(String key) {
        this.key = key;
        return this;
    }

    public String getRelativePath() {
        return relativePath;
    }

    public FileRetWrap setRelativePath(String relativePath) {
        this.relativePath = relativePath;
        return this;
    }

    public String getAbsolutePath() {
        return absolutePath;
    }

    public FileRetWrap setAbsolutePath(String absolutePath) {
        this.absolutePath = absolutePath;
        return this;
    }
}
